package cn.gp.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @ClassName SpringConfig
 * @Description TODO
 * @Author He_Guoping
 * @Date 2023/5/21 20:32
 * @Version 1.0
 */
@Configuration
@ComponentScan({"cn.gp.service", "cn.gp.mapper", "cn.gp.interceptor"})
@PropertySource({"classpath:jdbc.properties", "classpath:log4j.properties", "classpath:multpart.properties"})
@Import({JdbcConfig.class, MybatisConfig.class})
@EnableTransactionManagement
public class SpringConfig {

}
